package com.zhentao.new_z5.service.into;

import com.zhentao.new_z5.dao.MenuDao;
import com.zhentao.new_z5.pojo.Menu;
import com.zhentao.new_z5.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MenuIm implements MenuService {
    @Autowired
    MenuDao dao;

    @Override
    public List<Menu> fondMenuId(int uid) {
        return dao.fondMenuId(uid);
    }
}
